import React from 'react';
import DComponent from '../parsers/DComponent'

//设计面板
const Design = (props) => {

    const { schema, onSchemaChange } = props;

    return <DComponent 
                   node={schema}
                   onSchemaChange={onSchemaChange}
                />
}

export default Design;
